package DataLayer.Model;

/**
 * keeps info about: Produkt.
 * 
 * @author Gruppe 4 - Dennis Biil, Brian Smed, Kristian Henriksen og Anders Engbo
 * @version 1.0
 */
public class Produkt
{
	private int produktId;
	private String type;
	private String model;
	private boolean directOnly;
	private double pris;
	private boolean synlig;

	/**
	 * Constructor
	 */
	public Produkt(
			String type, String model, boolean directOnly,
			double pris, boolean synlig)
	{
		this.type = type;
		this.model = model;
		this.directOnly = directOnly;
		this.pris = pris;
		this.synlig = synlig;
	}

	/**
	 * Empty constructor
	 */
	public Produkt()
	{
	}

	/**
	 * Set and get methods
	 */
	public int getProduktId()
	{
		return produktId;
	}

	public void setProduktId(int produktId)
	{
		this.produktId = produktId;
	}

	public String getType()
	{
		return type;
	}

	public void setType(String type)
	{
		this.type = type;
	}

	public String getModel()
	{
		return model;
	}

	public void setModel(String model)
	{
		this.model = model;
	}

	public boolean isDirectOnly()
	{
		return directOnly;
	}

	public void setDirectOnly(boolean directOnly)
	{
		this.directOnly = directOnly;
	}

	public double getPris()
	{
		return pris;
	}

	public void setPris(double pris)
	{
		this.pris = pris;
	}

	public boolean isSynlig()
	{
		return synlig;
	}

	public void setSynlig(boolean synlig)
	{
		this.synlig = synlig;
	}
}
